<html>
<head>
<title>Programmatically create DateTextBox - techchorus.net Dojo Tutorial</title>
<style type="text/css">
        @import "http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/resources/dojo.css";
        @import "http://ajax.googleapis.com/ajax/libs/dojo/1.4/dijit/themes/tundra/tundra.css";
</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js"
    djConfig="parseOnLoad: true">
</script>

<script type="text/javascript">
    dojo.require("dijit.form.DateTextBox");
    dojo.addOnLoad(function() {
        var myDate = new dijit.form.DateTextBox(
            {
                id: "myDate",
                name: "myDate",
            }, "myDate"
        );
    })
</script>
    
</head>

<body class="tundra">
    
    <input id="myDate">

    <p>The tutorial is available at <a href="http://techchorus.net/programatically-create-datetextbox">TechChorus</a>
    </p>

</body>

</html>


